package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    //新增菜品
    public void  saveWithFlavor(DishDto dto);

    //修改菜品，同时插入菜品的口味信息，需要操作两张表
    public DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);


}
